package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Goods;
import entity.Result;

public interface GoodsService extends IService<Goods> {
    Result<Object> findPage(Integer page, Integer size);

    Result<Object> findById(Integer id);

    Result<Object> updateGoodsById(Goods goods);

    Result<Object> deleteGoodsById(Integer id);

    Result<Object> addGoods(Goods goods);
}
